﻿@{
    ViewData["Title"] = "阅卷申请审核";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

@section head{
    <link href="/css/bootstrap.min.css?v=3.3.6" rel="stylesheet" />
    <link href="/css/font-awesome.min.css?v=4.4.0" rel="stylesheet" />
    <link href="/css/animate.min.css" rel="stylesheet" />
    <link href="/css/font-awesome.min.css?v=4.4.0" rel="stylesheet" />
    <link href="/css/plugins/iCheck/custom.css" rel="stylesheet" />
    <link href="/css/style.min.css?v=4.1.0" rel="stylesheet" />
    <style type="text/css">
        .panel-actions .btn-sm {
            float: right;
            margin-top: -6px;
            margin-left: 5px;
        }

        .panel-body {
            height: 445px;
            padding: 0px;
            overflow-x: hidden;
            overflow-y: auto;
        }

            .panel-body div {
                padding: 5px 10px;
            }

                .panel-body div.sel {
                    background-color: #dff0d8;
                    color: #3c763d;
                    font-weight: bold;
                }

        .checkbox, .radio {
            margin-top: 0px;
            margin-bottom: 0px;
        }

        .input-group {
            margin-bottom: 10px;
            width: 100%;
        }

        .input-group-addon {
            width: 100px;
        }
    </style>
}
<form id="form1" runat="server">
    <div id="dContent">
        <div class="input-group">
            <span class="input-group-addon">档案编号</span>
            <asp:TextBox ID="txtFileNo" runat="server" CssClass="form-control" ReadOnly="true"></asp:TextBox>
        </div>
        <div class="input-group">
            <span class="input-group-addon">申请人</span>
            <asp:TextBox ID="txtUserName" runat="server" CssClass="form-control" ReadOnly="true"></asp:TextBox>
        </div>
        <div class="input-group">
            <span class="input-group-addon">天数</span>
            <asp:TextBox ID="txtApplyDays" runat="server" CssClass="form-control" MaxLength="4" dataType="null,zzs,int30" Msg="天数为空,天数不超过30天或者填写格式不正确!"></asp:TextBox>
        </div>
        <div class="input-group">
            <span class="input-group-addon">理由</span>
            <asp:TextBox ID="txtApplyReason" runat="server" CssClass="form-control" ReadOnly="true" TextMode="MultiLine" Height="150"></asp:TextBox>
        </div>
        <div class="input-group">
            <span class="input-group-addon">审核备注</span>
            <asp:TextBox ID="txtRemarks" runat="server" CssClass="form-control" TextMode="MultiLine" Height="150"></asp:TextBox>
        </div>
        <div class="input-group">
            <span class="input-group-addon">状态</span>
            <div class="form-control text-left">
                <div class="checkbox i-checks" style="float: left; margin-right: 10px; text-align: left; margin-top: 5px;">
                    <label style="padding-left: 0px;" for="cboxState1">
                        <input id="rbtnState1" type="radio" name="rbtnState" />通过
                    </label>
                </div>
                <div class="checkbox i-checks" style="float: left; margin-right: 5px; text-align: left; margin-top: 5px;">
                    <label style="padding-left: 0px;" for="cboxState2">
                        <input id="rbtnState2" type="radio" name="rbtnState" />不通过
                    </label>
                </div>
            </div>
        </div>
        <input id="hfState" type="hidden" runat="server" datatype="null,zzs" msg="请选择审核状态!" />
    </div>
    <div class="zui-footer">
        <asp:Button ID="btnSave" runat="server" CssClass="btn btn-primary btn-sm" Text="审核" OnClientClick="SetToastOn(); return verfic('tip', '#dContent');" OnClick="btnSave_Click" />
        <button id="btnClose" class="btn btn-default btn-sm" type="button" onclick="closePage()">关闭</button>
    </div>
</form>
@section scripts{
    <script src="/js/jquery.min.js?v=2.1.4"></script>
    <script src="/js/bootstrap.min.js?v=3.3.6"></script>
    <script src="/js/plugins/jeditable/jquery.jeditable.js"></script>
    <script src="/js/plugins/dataTables/jquery.dataTables.js"></script>
    <script src="/js/plugins/dataTables/dataTables.bootstrap.js"></script>

    <script src="/js/My97DatePicker/WdatePicker.js"></script>
    <script src="/js/plugins/layer/layer.min.js"></script>
    <script src="/js/store.js"></script>
    <script src="/js/plugins/iCheck/icheck.min.js"></script>
    <script src="/js/verification.js"></script>
    <script src="/js/zuiCode.js"></script>
    <script type="text/javascript">
        $(function () {
            $(".i-checks").iCheck({
                checkboxClass: "icheckbox_square-green",
                radioClass: "iradio_square-green"
            })

            $("#rbtnState1").on('ifClicked', function (event) {
                $("#hfState").val("1");
            })

            $("#rbtnState2").on('ifClicked', function (event) {
                $("#hfState").val("2");
            })
        })
    </script>
}
